package com.osgc.rf.np.util.mde;

import java.util.HashMap;
import java.util.Map;

import com.osgc.rf.np.util.RBaseInfo;

public class RMasterInfo extends RBaseInfo {
	
	Map<Integer,RDetailInfo> detail = new HashMap<Integer, RDetailInfo>();
	public RDetailInfo getDetail() {
		try {
			return detail.get(row);
		} catch (Exception e) {
		}
		return null;
	}
	public void addDetailinfo(int row, RDetailInfo detailinfo) {
		this.detail.put(row, detailinfo);
	}

	public	int getDetailsize(){
		return getDetail().getDbinfo().getRowCount()-1;
	}
	
}
